HAL CORDIC macros migration

This section provides information about the HAL CORDIC macros migration.

HAL CORDIC clear flags macro

HAL1

HAL2

#define __HAL_CORDIC_CLEAR_FLAG(__HANDLE__, __FLAG__)
#define __HAL_CORDIC_CLEAR_IT(__HANDLE__, __INTERRUPT__)
Removed as no flag can be cleared
Removed as no interrupt status flag

HAL CORDIC disable IT macro

HAL1

HAL2

#define __HAL_CORDIC_DISABLE_IT(__HANDLE__, __INTERRUPT__)
Removed. use __STATIC_INLINE void LL_CORDIC_DisableIT(CORDIC_TypeDef *p_cordic) instead.

HAL CORDIC enable IT macro

HAL1

HAL2

#define __HAL_CORDIC_ENABLE_IT(__HANDLE__, __INTERRUPT__)
Removed. use __STATIC_INLINE void LL_CORDIC_EnableIT(CORDIC_TypeDef *p_cordic) instead.

HAL CORDIC get flag/interrupt macro

HAL1

HAL2

#define __HAL_CORDIC_GET_FLAG
#define __HAL_CORDIC_GET_IT
Removed. use __STATIC_INLINE uint32_t LL_CORDIC_IsActiveFlag(const CORDIC_TypeDef *p_cordic, uint32_t mask) instead.

HAL CORDIC get IT source macro

HAL1

HAL2

#define __HAL_CORDIC_GET_IT_SOURCE
Removed. use __STATIC_INLINE uint32_t LL_CORDIC_GetITSource(const CORDIC_TypeDef *p_cordic, uint32_t interrupt) instead.

HAL CORDIC reset handle state macro

HAL1

HAL2

#define __HAL_CORDIC_RESET_HANDLE_STATE
Removed: Use HAL_CORDIC_DeInit() instead.